package yxy.game.pm2.bean.db.module;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "server")
public class server implements Serializable {
	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "name")
	private String name;
	@Column(name = "state")
	private int state;
	@Column(name = "roleCreateForbid")
	private int roleCreateForbid;// 禁止新角色创建
	@Column(name = "openTime")
	private Date openTime;// 开服时间
	@Column(name = "openTip")
	private String openTip;// 预开服提示
	@Column(name = "maintainTips")
	private String maintainTips;// 维护提示
	@Column(name = "sid")
	private int sid;// 游戏服id，展示用
	@Column(name = "areaId")
	private int areaId;// 所属区id

	public server() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getRoleCreateForbid() {
		return roleCreateForbid;
	}

	public void setRoleCreateForbid(int roleCreateForbid) {
		this.roleCreateForbid = roleCreateForbid;
	}

	public Date getOpenTime() {
		return openTime;
	}

	public void setOpenTime(Date openTime) {
		this.openTime = openTime;
	}

	public String getOpenTip() {
		return openTip;
	}

	public void setOpenTip(String openTip) {
		this.openTip = openTip;
	}

	public void setMaintainTips(String maintainTips) {
		this.maintainTips = maintainTips;
	}

	public String getMaintainTips() {
		return maintainTips;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
}
